package com.zhumr.serviceImpl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhumr.dao.ActorInfoMapper;
import com.zhumr.model.ActorInfo;
import com.zhumr.service.IActorInfoService;

@Service("actorService")
public class ActorInfoServiceImpl implements IActorInfoService {
	@Autowired
	private ActorInfoMapper actorMapper;

	@Override
	public List<ActorInfo> getAllActor(Map<String, Object> map) {
		return actorMapper.getAllActor(map);
	}

	@Override
	public ActorInfo getActorById(int id) {
		return actorMapper.getActorById(id);
	}

}
